package com.redoor.app.stake.workflow.model.controllerModel;

import com.redoornetwork.framework.mybatis.service.AbstractQueryCriteria;
import io.swagger.annotations.ApiModelProperty;

import java.util.ArrayList;
import java.util.List;

/**
* Created by wangjunlei on 2018-03-07 17:06:26.
*/
public class BaseWorkorderCriteria extends AbstractQueryCriteria {

    /**
     * 工单主键
     */
    private String uuid;


    private String targettype;

    private List<String> targettypelist = new ArrayList<String>();

    /**
     * 工单的target的uuid
     */
    private String targetuuid;

    /**
     * 工单状态
     */
    private Integer workstatus;

    //工单编号
    @ApiModelProperty(value = "工单编号", required = false)
    private String workorderNo;

    @ApiModelProperty(value = "工单创建时间", required = false)
    private String createdAt;

    @ApiModelProperty(value = "工单处理时间", required = false)
    private String reviewrDate;
    //工单状态
    private Integer workStatus;


    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }


    public String getTargettype() {
        return targettype;
    }

    public void setTargettype(String targettype) {
        this.targettype = targettype;
    }

    public String getTargetuuid() {
        return targetuuid;
    }

    public void setTargetuuid(String targetuuid) {
        this.targetuuid = targetuuid;
    }

    public Integer getWorkstatus() {
        return workstatus;
    }

    public void setWorkstatus(Integer workstatus) {
        this.workstatus = workstatus;
    }

    public List<String> getTargettypelist() {
        return targettypelist;
    }

    public void setTargettypelist(List<String> targettypelist) {
        this.targettypelist = targettypelist;
    }
    public Integer getWorkStatus() {
        return workStatus;
    }

    public void setWorkStatus(Integer workStatus) {
        this.workStatus = workStatus;
    }

    public String getWorkorderNo() {
        return workorderNo;
    }

    public void setWorkorderNo(String workorderNo) {
        this.workorderNo = workorderNo;
    }

    public String getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(String createdAt) {
        this.createdAt = createdAt;
    }

    public String getReviewrDate() {
        return reviewrDate;
    }

    public void setReviewrDate(String reviewrDate) {
        this.reviewrDate = reviewrDate;
    }

    @Override
    public String toString() {
        return "BaseWorkorderCriteria{" +
                "uuid='" + uuid + '\'' +
                ", workorderNo='" + workorderNo + '\'' +
                ", createdAt='" + createdAt + '\'' +
                ", reviewrDate='" + reviewrDate + '\'' +
                ", workStatus=" + workStatus +
                '}';

    }
}
